package net.xdclass.mapper;

import net.xdclass.model.ProductOrderDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 孙浩
 * @since 2022-05-11
 */
public interface ProductOrderMapper extends BaseMapper<ProductOrderDO> {

  int updateOrderPayState(@Param("outTradeNo") String outTradeNo,@Param("newOrderState") String newOrderState,@Param("oldOrderState") String oldOrderState);

  int updatePayTypeById(@Param("payType")String payType,@Param("id")Long id);
}
